#ifndef _USB_11_H_
#define _USB_11_H_

#define USB11_REVISION			*((volatile uint32_t *)0x01E25000)	// OHCI revision number 
#define USB11_CONTROL			*((volatile uint32_t *)0x01E25004)	// HC operating modes register
#define USB11_COMMANDSTATUS		*((volatile uint32_t *)0x01E25008)	// HC command and status register
#define USB11_INTERRUPTSTATUS		*((volatile uint32_t *)0x01E2500C)	// Interrupt and status register
#define USB11_INTERRUPTENABLE		*((volatile uint32_t *)0x01E25010)	// Interrupt enable register
#define USB11_INTERRUPTDISABLE		*((volatile uint32_t *)0x01E25014)	// Interrupt disable register
#define USB11_HCCA			*((volatile uint32_t *)0x01E25018)	// HCCA address register
#define USB11_PERIODCURRENTED		*((volatile uint32_t *)0x01E2501C)	// Current periodic register
#define USB11_CONTROLHEADED		*((volatile uint32_t *)0x01E25020)	// head control register
#define USB11_CONTROLCURRENTED		*((volatile uint32_t *)0x01E25024)	// current control register
#define USB11_BULKHEADED		*((volatile uint32_t *)0x01E25028)	// head bulk register
#define USB11_BULKCURRENTED		*((volatile uint32_t *)0x01E2502C)	// current bulk register
#define USB11_DONEHEAD			*((volatile uint32_t *)0x01E25030)	// head done register
#define USB11_FMINTERVAL		*((volatile uint32_t *)0x01E25034)	// frame interval register
#define USB11_FMREMAINING		*((volatile uint32_t *)0x01E25038)	// frame remaining register
#define USB11_FMNUMBER			*((volatile uint32_t *)0x01E2503C)	// frame number register
#define USB11_PERIODICSTART		*((volatile uint32_t *)0x01E25040)	// periodic start register
#define USB11_LSTHRESHOLD		*((volatile uint32_t *)0x01E25044)	// low speed threshold register
#define USB11_RHDESCRIPTORA		*((volatile uint32_t *)0x01E25048)	// root hub A register
#define USB11_RHDESCRIPTORB		*((volatile uint32_t *)0x01E2504C)	// root hub B register
#define USB11_RHSTATUS			*((volatile uint32_t *)0x01E25050)	// root hub status register
#define USB11_RHPORTSTATUS1		*((volatile uint32_t *)0x01E25054)	// port 1 status and control register

// Second port cannot be used in the implementation
//#define USB11_RHPORTSTATUS2		*((volatile uint32_t *)0x01E25058)	// port 2 status and control register

#endif
